home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- go(the frame)
- end
-
- on prepareFrame
- spriteBox(6, the left of sprite 6, the locV of sprite 8, the locH of sprite 8, the bottom of sprite 6)
- spriteBox(7, the right of sprite 6, the top of sprite 6, the right of sprite 7, the bottom of sprite 7)
- put atan(float(the height of sprite 6) / float(the width of sprite 6)) * float(180) / PI into field "L1"
- put atan(float(the height of sprite 7) / float(the width of sprite 7)) * float(180) / PI into field "R1"
- put 180 - field "R1" - field "L1" into field "T1"
- set the locH of sprite 11 to the locH of sprite 8 + 23
- set the locV of sprite 11 to the locV of sprite 8 - 20
- updateStage()
- end
-